/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.mailaddr;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.mailaddr.MailAddr;
import com.server.modules.sys.dao.mailaddr.MailAddrDao;

/**
 * 邮件列表Service
 * @author 丁光彪
 * @version 2017-01-10
 */
@Service
@Transactional(readOnly = true)
public class MailAddrService extends CrudService<MailAddrDao, MailAddr> {

	public MailAddr get(String id) {
		return super.get(id);
	}
	
	public List<MailAddr> findList(MailAddr mailAddr) {
		return super.findList(mailAddr);
	}
	
	public Page<MailAddr> findPage(Page<MailAddr> page, MailAddr mailAddr) {
		return super.findPage(page, mailAddr);
	}
	
	@Transactional(readOnly = false)
	public void save(MailAddr mailAddr) {
		super.save(mailAddr);
	}
	
	@Transactional(readOnly = false)
	public void delete(MailAddr mailAddr) {
		super.delete(mailAddr);
	}
	
}